import { createRouter, createWebHistory } from 'vue-router'
import Cseq from '../pages/cseq/Cseq.vue'
import Qc from '@/pages/qc/Qc.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: Cseq
    },
    {
      path: '/detail/:id',
      name: 'detail',
      component: Qc
    }
  ]
})

export default router
